package com.phillong.strategy;

/**
 * @author zhangpeng
 */
public class YellowDuck extends Duck{

    public YellowDuck(){
        quackBehavior = new MuteQuack();
        flyBehavior = new FlyWithWing();
    }

    @Override
    public void display() {
        System.out.println("I'm a Yellow Duck!");
    }
}
